package com.xmy.cultivate.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.xmy.cultivate.entity.views.EasyExcelLocalDateConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 邀约失败话术
 * </p>
 *
 * @author hpiggy
 * @since 2024-08-20
 */
@Data
@TableName("enroll_student_speech")
@ApiModel(value = "EnrollStudentSpeech对象", description = "邀约失败话术")
public class EnrollStudentSpeech implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    private Long id;

    @ExcelIgnore
    @ApiModelProperty("邀约失败类型id")
    private Long studentOptionId;

    @ExcelIgnore
    @ApiModelProperty("邀约失败选项id")
    private Long studentCauseId;


    @ExcelIgnore
    @TableField(exist = false)
    private String studentCauseName;

    @ExcelProperty(value = "原因")
    @ApiModelProperty("标题")
    private String title;

    @ExcelProperty(value = "话术")
    @ApiModelProperty("话术")
    private String verbalTrick;

    @ExcelProperty(value = "类型")
    @TableField(exist = false)
    private String studentOptionName;

    @ExcelProperty(value = "阅读时间（秒）")
    @ApiModelProperty("阅读时间（秒）")
    private Integer readingTime;

    @ExcelIgnore
    @ApiModelProperty("排序")
    private Integer sort;

    @ExcelIgnore
    @ApiModelProperty("是否删除，0正常，1删除")
    @TableLogic(value = "0", delval = "1")
    @TableField(select = false)
    private Integer deleted;

    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ExcelProperty(value = "建立时间")
    @TableField(exist = false)
    private String addTime;

    @ExcelIgnore
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updatedAt;


}
